package org.testframe;

/**
 * 格式化器
 * @author 丁常磊
 * @date 2023/11/22 10:13
 */

public class Formatters {

    public static final DataFormat<String, String> trim = new DataFormat<String, String>() {
        @Override
        public String format(String s) {
            if (s == null) {
                return null;
            }
            return s.trim();
        }
    };

}
